package com.itkk.banking;
import com.itkk.banking.*;

public class TestBanking {
    public static void main(String[] args) {
        Customer customer;
        Acount acount;
        System.out.println("Create the customer itkk");
        customer = new Customer("it", "kk");
        System.out.println("Create the account with balance 500.0");
        customer.setAcount(new Acount(500.0));
        acount = customer.getAcount();
        System.out.println("Withdraw 150.0:" + acount.withdraw(150.0));
        System.out.println("Depoist 22.50:" + acount.withdraw(22.50));
        System.out.println("Withdraw 47.62:" + acount.withdraw(47.62));
        System.out.println("Withdraw 400.00:" + acount.withdraw(400.00));
        System.out.println("Customer [" + customer.getLastName()
                + ", " + customer.getFirstName()
                + "] has a balance of" + acount.getBalance());
    }
}
